package com.example.Mappers;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.Entity.Resources;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ResourcesMapper extends BaseMapper<Resources> {
    void insertUrl(String account,String url);
    //获取数据库的url链接
    @Select("SELECT rurl FROM resources WHERE account=#{account}")
    List<String> getUrl(String account);
    String testurl();
}
